package com.iyjhsoc.game.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.iyjhsoc.game.domain.dto.FirstPlayerDTO;
import com.iyjhsoc.game.domain.dto.PlayerDTO;
import com.iyjhsoc.game.domain.dto.PlayerTeamDTO;
import com.iyjhsoc.game.domain.entity.PlayerTeamDO;
import com.iyjhsoc.game.domain.response.Response;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface PlayerTeamService extends IService<PlayerTeamDO> {

    Response queryFirstPlayer(FirstPlayerDTO dto);

    Response insertFirstPlayer(FirstPlayerDTO dto);

    Response updateFirstPlayer(FirstPlayerDTO dto);

    Response getPlayerList(FirstPlayerDTO dto);

    Response insertSubstitute(List<PlayerTeamDTO> playerTeamDTOS);

    Response getSubstitute(PlayerDTO playerDTO);

    Response delSubstitute(PlayerTeamDO playerTeamDO);
}
